import time

from selenium import webdriver
from selenium.webdriver.common.by import By

class Test_login_a3mall():

    driver = webdriver.Edge()
    driver.get('http://10.59.9.14:7003/home/login.html')
    #19834742041 123456
    driver.maximize_window()
    driver.implicitly_wait(4)

    #用户名： name="username"
    username= driver.find_element(By.NAME,'username').send_keys('19834742041')
    #密码 name="password"
    password=driver.find_element(By.NAME,'password').send_keys('123456')
    #时间为10秒来填写验证码
    time.sleep(10)
    #点击登录  class="finish-btn"
    lohin=driver.find_element(By.CLASS_NAME,'finish-btn')

